import React from 'react';
import ReactDOM from 'react-dom';
import './assets/styles/index.less';
import { Provider } from 'react-redux';
import { store, persistor } from './store';
import reportWebVitals from './reportWebVitals';
import { PersistGate } from 'redux-persist/lib/integration/react';
import Routers from './router';
import { injectAppConfig } from "./utils/app-config"



// injectAppConfig(() => {

// })

ReactDOM.render(
	<Provider store={store}>
		<PersistGate persistor={persistor}>
			{/* <React.StrictMode> */}
			<Routers />
			{/* </React.StrictMode> */}
		</PersistGate>
	</Provider>,
	document.getElementById('root')
);

reportWebVitals();
